package com.tz.crm.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 自定义属性
 */
@Entity
@Table(name="tbl_propertyValue")
public class PropertyValue extends BaseEntity {

	private static final long serialVersionUID = -833597341891307168L;
	
	private String propName;//属性名
	private String value;//属性值
	private Contract contract;//合同
	private int seq;//排序号

	/**
	 * 空参构造
	 */
	public PropertyValue() {
	}
	
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	@ManyToOne
	public Contract getContract() {
		return contract;
	}
	public void setContract(Contract contract) {
		this.contract = contract;
	}

	public void setPropName(String propName) {
		this.propName = propName;
	}

	public String getPropName() {
		return propName;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}
	
}
